package com.sxbbc.common.core.mapper.jz;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.WWarehouseDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxbbc.common.core.utils.BasePage;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 仓库商品详情表 Mapper 接口
 * </p>
 *
 * @author leehao
 * @since 2019-07-02
 */
public interface WWarehouseDetailMapper extends BaseMapper<WWarehouseDetail> {

    /**
     * 查询各仓库商品库存
     * @param page
     * @param detail
     * @author leehao
     */
    IPage<WWarehouseDetail> queryProductStock(BasePage<WWarehouseDetail> page, @Param("detail") WWarehouseDetail detail);
}
